//
//  IAARiskMonInfoTCell.m
//  iPadAuditAuthorise
//
//  Created by XiangDongMBP on 16/9/7.
//  Copyright © 2016年 XiangDong. All rights reserved.
//

#import "IAARiskMonInfoTCell.h"
#import "IAAInfoMsgModel.h"

@implementation IAARiskMonInfoTCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    self.indexLabel.layer.masksToBounds = YES;
    self.indexLabel.layer.cornerRadius = 3;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)configViewWithData:(IAARiskMonitorInfoItem *)item index:(NSInteger)index {
    self.indexLabel.text = [NSString stringWithFormat:@"%02zd", index];
    self.contentLabel.text = item.info;
}

@end
